﻿#if UNITY_IOS
using System;
using UnityEngine;

namespace Notifications.Runtime.iOS
{
    public class iOSBackgroundGameNotification : IGameBackgroundNotification
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public EChannelType Channel { get; set; }
        public bool NeedUpdate { get; set; }
        public bool NeedClose { get; set; }
        public bool Ongoing { get; set; }

        public int GetId()
        {
            return Id;
        }

        public string GetTitle()
        {
            return Title;
        }

        public string GetContent()
        {
            return Body;
        }

        public bool GetNeedClose()
        {
            return NeedClose;
        }

        public int GetChannelId()
        {
            return (int) Channel;
        }

        public bool GetNeedUpdate()
        {
            return NeedClose;
        }

        public bool GetOngoing()
        {
            return Ongoing;
        }


        public void OnUpdateNotification()
        {
            NeedUpdate = false;
        }
    }
}
#endif